ESP32 RMT High-priority Interrupt driver (PRv2)#4799
ESP32 RMT High-priority Interrupt driver (PRv2)#4799willmmiles wants to merge 4 commits intowled:mainfrom
Conversation
Ensure repeatable test builds.
|
Important Review skippedDraft detected. Please check the settings in the CodeRabbit UI or the You can disable this status message by setting the ✨ Finishing Touches🧪 Generate unit tests
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
|
C3 support is up and seems to work OK on my first test board, though I did see one WDT reboot. I haven't been able to cause another one though. :( |
|
I can test on C3 and S2 this weekend |
|
Tested on S2 and C3 and did not see any flickering nor crashes when heavily browsing the UI. |
|
Testing notes: I made a 0_15_x build for C3 with this patch and #4796 with the intent of testing #4347 and unfortunately it IWDT crashed fairly quickly under load from HA; just #4796 has lasted a couple days already. Either there's some other bug that's corrupting memory (#4808-type races maybe, though HA was just reading?) or there's still some issue with the C3 implementation here. I am continuing to test. |
|
Hey! This pull request has been open for quite some time without any new comments now. It will be closed automatically in a week if no further activity occurs. |
Temporarily switch to a NeoPixelBus fork with a custom high-priority interrupt based driver for using the RMT hardware on ESP32 platforms. This driver is currently draft PR'd upstream at Makuna/NeoPixelBus/pull/892. Fixes #4389 and related issues.
Currently I've tested ESP32 (IDF v3 and v4), ESP32-S2, and ESP32-S3; it works well for me. Further testing would be very helpful!
ESP32-C3 support is still pending as it will require a different IRQ shim layer.
I'm opening this draft to provide a link to builds with the current WIP version.
Replaces #4797, without the unfinished and superfluous changes for making custom ESP-IDF builds.